<template>
  <div class="resinfo-container container">
    <div class="row g-0">
      <div class="respic col-2">
        <img :src="picUrl" />
      </div>
      <div class="resinfo1 col-6">
        <div class="resstore">
          <p>某某餐厅石佛营店</p>
          <p class="time">10：00-23：00</p>
        </div>
        <p class="resloc">
          <img :src="locPic" />
          <span>北京市朝阳区石佛营路x号</span>
        </p>
      </div>
      <div class="resinfo2 col-4">
        <div class="resstate">
          <van-button round type="primary" size="small">营业中</van-button>
        </div>
        <div class="respho">
          <img :src="phoPic" />
          <span>400-8000-500</span>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'resinfo',
  data() {
    return {
      picUrl: require('@/assets/Home-resinfo/respic.png'),
      locPic: require('@/assets/Home-resinfo/resloca.svg'),
      phoPic: require('@/assets/Home-resinfo/resphone.png')
    }
  }
}
</script>

<style lang="less" scoped>
.resinfo-container {
  padding: 0;
  height: 140px;
  background-color: #fff;
  div {
    height: 100%;
  }
  .respic {
    display: flex;
    justify-content: center;
    img {
      margin: auto auto;
      width: 70px;
    }
  }
  .resinfo1 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 13px;
    .resstore {
      height: auto;
    }
    .resloc {
      margin-top: 10px;
      img {
        width: 14px;
      }
    }
    .time, .resloc {
      color: #969799;
    }
  }
  .resinfo2 {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    .resstate {
      height: auto;
      display: flex;
      justify-content: flex-end;
      margin-right: 15px;
    }
    .respho {
      height: auto;
      margin-left: 10px;
      margin-bottom: 15px;
      font-size: 13px;
    }
  }
}
</style>